package indi.jp.project.business.jingying.service;

import indi.jp.project.business.jingying.pojo.po.ProjectTrackPO;
import indi.jp.project.business.jingying.pojo.po.ProjectTrackRecordPO;
import indi.jp.project.business.jingying.pojo.query.ProjectTrackQuery;
import indi.jp.project.business.jingying.pojo.query.ProjectTrackRecordQuery;
import indi.jp.project.core.entity.JsonResult;

/**
 * 项目跟踪
 *
 * @author jiangping
 * @date 2022/6/5
 */
public interface ProjectTrackService {

    JsonResult queryGrid(ProjectTrackQuery query) throws Exception;

    JsonResult save(ProjectTrackPO projectTrackPO) throws Exception;

    JsonResult findById(String id) throws Exception;

    JsonResult deleteById(String id) throws Exception;

    JsonResult queryRecordGrid(ProjectTrackRecordQuery query) throws Exception;

    JsonResult saveRecord(ProjectTrackRecordPO projectTrackRecordPO) throws Exception;

    JsonResult deleteRecord(String id) throws Exception;
}
